package com.fc.test.mapper.auto;

import com.fc.test.model.auto.TAbbOrder;
import com.fc.test.model.auto.TAbbOrderExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

/**
 *
 *
 * @author fuce
 * @email 87766867@qq.com
 * @date 2019-08-21 16:15:03
 */
public interface TAbbOrderMapper {
    long countByExample(TAbbOrderExample example);

    int deleteByExample(TAbbOrderExample example);

    int deleteByPrimaryKey(String id);

    int insert(TAbbOrder record);

    int insertSelective(TAbbOrder record);

    List<TAbbOrder> selectByExample(TAbbOrderExample example);

    TAbbOrder selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TAbbOrder record, @Param("example") TAbbOrderExample example);

    int updateByExample(@Param("record") TAbbOrder record, @Param("example") TAbbOrderExample example);

    int updateByPrimaryKeySelective(TAbbOrder record);

    int updateByPrimaryKey(TAbbOrder record);

    List<TAbbOrder> getRecordList(Map<String,Object> map);

    List<TAbbOrder> getMyCuxiaoOrder(Map<String,Object> map);

    List<TAbbOrder> getMyHuigouOrder(Map<String,Object> map);


    List<Map> selectByExample1(String name);

    List<Map> selectByExample2(@Param("name") String name, @Param("shopid") String shopid,@Param("starttime") String starttime,@Param("endtime") String endtime);

    TAbbOrder getOrderFormByOrderNo(String orderNo);

    String selectByAddressAndTime(@Param("searchTxt") String searchTxt,@Param("starttime") String starttime,@Param("endtime") String endtime,@Param("i") int i);

    String selectBytime(@Param("starttime")String starttime, @Param("endtime")String endtime,@Param("i") int i);

    int confirmReceiptOrder();

    List<TAbbOrder> getConfimOrders();
}
